import Vue from "vue";
import Router from "vue-router";
import Home from "./views/Home.vue";
Vue.use(Router);

export default new Router({
  routes: [
    {
      path:"/",
      redirect:'home'
    },
    {
      path: "/home",
      component: Home
    },
    {
      path: "/invoice-list",
      name: "invoiceList",
      component: () =>
        import(/* webpackChunkName: "about" */ "invoice/views/invoice-list/index.vue")
    },
  ]
});
